Skip to content

Adds kh1ardresource method - #1277

Merged
shananas merged 5 commits into
OpenKH:masterfrom
gaithern:add-kh1ardresource-method
Aug 16, 2026
Merged

Adds kh1ardresource method#1277
shananas merged 5 commits into
OpenKH:masterfrom
gaithern:add-kh1ardresource-method

Conversation

@gaithern

Copy link
Copy Markdown
Contributor

Small one. This adds the kh1ardresouce method.

KH1 *.ard files include a list of model/animation resource filenames that each room loads/uses.
These references are in plain ASCII and are pointed to via offset at the beginning of the binary.

We can patch these by reading that offset and replacing the plaintext references by index since they all have the same size capacity.

I want to use this for KH1 enemy randomizer without replacing the entire *.ard binaries, not sure what else this would be used for.

@coderabbitai

coderabbitai Bot commented Aug 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d37de551-0f00-4f50-9fbb-da3fcd5ac5f9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Comment thread docs/tool/GUI.ModsManager/creatingMods.md
Matches every other patch method: mod.yml lists the asset and points at a
file holding the edits, so the manifest only changes when an edit is added
or removed. Replaces the inline 'replacements' map, which was the only
inline-data property on AssetFile.
@shananas
shananas merged commit 3685649 into OpenKH:master Aug 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants